package com.yun.many.auth.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yun.many.auth.dao.entity.User;
import com.yun.many.auth.model.dto.LoginUser;
import com.yun.many.auth.model.req.UserEditReq;
import com.yun.many.auth.model.req.UserQueryReq;
import com.yun.many.auth.model.resp.UserVo;

public interface IUserService {
    Page<UserVo> pageUser(UserQueryReq req);

    Boolean save(UserEditReq req);

    LoginUser loadUserByUsername(String username);

    Boolean delete(UserQueryReq req);

    Boolean frozen(UserQueryReq req);
}
